Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include dependencies graph in the Metadata #9

Merged
merged 2 commits into from
Jun 12, 2017
Merged

Conversation

mcarton
Copy link
Contributor

@mcarton mcarton commented Jun 11, 2017

@oli-obk
Copy link
Owner

oli-obk commented Jun 12, 2017

Why a major bump? This only makes previously private fields public.

@@ -23,25 +23,43 @@ use std::io;
pub struct Metadata {
/// A list of all crates referenced by this crate (and the crate itself)
pub packages: Vec<Package>,
resolve: Option<()>,
/// Dependencies graph
pub resolve: Option<Resolve>,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I bumped the version because this type changes.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well. The field was private, so it's only a small breaking change since the parsed json is tested more strictly. I think it should be a patch version bump, since no real code should break (it should be valid metadata json to begin with)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, don't know what I was thinking there.

@oli-obk oli-obk merged commit e774ad5 into oli-obk:master Jun 12, 2017
@oli-obk
Copy link
Owner

oli-obk commented Jun 12, 2017

Thx, will publish on Thursday. Earlier if I have a PC and internet simultaneously

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants